<%-- 
    Document   : OfferAdmin
    Created on : 24 déc. 2011, 14:47:07
    Author     : Gaëtan
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>

<h1 id="header"><s:property value="offer.titre" /></h1>
<table classs="tableModif">
    <tr>
        <td><b><s:property value="%{getText('offer.id')}" /></b></td><td>  : <s:property value="offer.id" /></td>
    </tr>
    <tr>
        <td><b><s:property value="%{getText('offer.enonce')}" /></b></td><td>  : <s:property value="offer.enonce" /></td>
    </tr>
    <tr>
        <td><b><s:property value="%{getText('offer.entreprise')}" /></b></td><td>  : <s:property value="offer.entreprise" /></td>
    </tr>
    <tr>
        <td><b><s:property value="%{getText('offer.adresse')}" /></b></td><td>  : <s:property value="offer.adresse" /></td>
    </tr>
    <tr>
        <td><b><s:property value="%{getText('offer.codePostal')}" /></b></td><td>  : <s:property value="offer.codePostal" /></td>
    </tr>
    <tr>
        <td><b><s:property value="%{getText('offer.ville')}" /></b></td><td>  : <s:property value="offer.ville" /></td>
    </tr>
    <tr>
        <td><b><s:property value="%{getText('offer.nom')}" /></b></td><td>  : <s:property value="offer.nom" /></td>
    </tr>
    <tr>
        <td><b><s:property value="%{getText('offer.prenom')}" /></b></td><td>  : <s:property value="offer.prenom" /></td>
    </tr>
    <tr>
        <td><b><s:property value="%{getText('offer.dateEnvoi')}" /></b></td><td>  : <s:text name="date.format"><s:param value="offer.dateEnvoi.toGregorianCalendar().getTime()"/></s:text></td>
    </tr>
    <tr>
        <td><b><s:property value="%{getText('offer.dateOffre')}" /></b></td><td>  : <s:text name="date.format"><s:param value="offer.dateOffre.toGregorianCalendar().getTime()"/> </s:text></td>
    </tr>
    <tr>
        <td><b><s:property value="%{getText('offer.promo')}" /></b></td><td>  : <s:property value="offer.promo" /></td>
    </tr>
    <tr>
        <td><b><s:property value="%{getText('offer.file')}" /></b></td>
        <td>:
            <s:if test="offer.file!=\"\"">
                <a href="downloadPdf.action?id=${id}" target="_blank"><s:property value="offer.file" /><img src="images/pdf.jpg" title="<s:property value="%{getText('offer.pdf')}" />" alt="<s:property value="%{getText('offer.pdf')}" />" /></a>
            </s:if>
            <s:else>
                <i><s:property value="%{getText('offer.file.none')}" /></i>
            </s:else>
        </td>
    </tr>
    <tr>
        <td><b><s:property value="%{getText('offer.maitre')}" /></b></td><td>  : <s:property value="offer.maitre" /></td>
    </tr>
</table>
<br/>
<a href="<s:property value="back" />"><s:property value="%{getText('offer.back')}" /></a>
